package tbalert.web.dao;

import java.util.List;

import tbalert.hibernate3.Finder;
import tbalert.hibernate3.Updater;
import tbalert.page.Pagination;
import tbalert.web.entity.Dwdm;
import tbalert.web.entity.Role;

public interface DwdmDao {

	public Dwdm deleteById(String id);

	public Pagination find(Finder finder, int pageNo, int pageSize);

	public Dwdm findById(String id);

	public List<Dwdm> findBySjdw(String sjdwId);

	public Dwdm getByDlmc(String dlmc);

	public Dwdm getByRole(Role role);

	public String getMaxDwid(String sjdwId);

	public Dwdm save(Dwdm bean);

	public Dwdm updateByUpdater(Updater<Dwdm> updater);
}
